finished with template