To create model