Moved to twig for rendering