removing some unneeded code for Kalman