understanding twig