first and second iterations, setup and first model