adding kalman random agent stuff