slight mods, agents->agent