added getAgents