added SETBY attribute to have a function that assigns a struct member's values