general structure of the models was implemented