Fixed indentation
Changed agent to a property