creation of the models