create model for assignment