adding kgn and ct msmts code