small changes to kf