if there are no active agents in list begin() iterator should be end()