add twig step by step