filled out rest of REST API