removed some kernel stuff
Cleaned up kernel stuff