got the agent to compile, still need to fix the simulation references