get rid of all else but kernel