cleaned some not used functions on this kernel