modifyed to include kernel by Cl3Kener