move value to a getter/setter structure