started to write models