finished the template