check on true when generating model attributes