set model class to collection