Created an Agent array which needs fixing.