working on the kcs integration