the template is almost finished