filling out agent object at each step