assigning classes to old schema selects, checking types