adding creation of model