writing models c1