attr writer used