Implemented get and set command