changed model to attr writer only