adapted twig functions interfaces