added some helper files for parsing responses