added the rest of the comments to the functions in processQuery for their input descriptions