initialize variables for twig