Kalman max class added