added creating a model