generating first model