added some error handling, and parameter handling in GetJobListings