working on a few of the http requests and public functions