add get/set to fields