add get and set functions