forgot an arg in Agent.cpp