use the twig trait