added TODO
refactored batch function to take in list of dicts representing an offer; added documentation for batch function