add get and set methods for object storage