creating a new model instance -done