attribute write works