How to Assign and Check Groups