* refactored dictset as* functions to use decorator