added first KMC code