Drag the Collection element from the Agent palette onto the graphical diagram of agent type or experiment. Choose the type: Arraylist. Choose the element class others and AgentArrayList so you can store population of agent inside the collection.