refactored twig function names