adding single template for code