added helper methods for get and set