removed old code kinchain