Changed agent to a property