added check boxes for primary classes