Remember to specify semester and department when querying payAmount for currentlyAllocated calculation.