fixed the agents getting stuck; the assignment is pretty much complete now