changing number of agents in panel