start writing models