added changes for conditional get. There is still a parsing error and the modify function needs to be implemented