- modified twig functions