g2: Change kernel made by @dorimanx