setting up requests, and parsing... added comments