added comments for some processQuery function calls with what inputs the functions take