added the get and set functions