added agent selection
added agent moving