filled out some rest methods