Changes made to Agent.h