kernel and twig