Added read ks feature