added KS graphs