adding a kalman filter