added support for Twig