added agent index