add the body of the get method, and minor tweaks