writing models
writing model