random emit works and numAgents affects how many agents limits agents at a time