updated view to use twig