attempt at ensuring uniqueness of agents