New kernel implementation