finished with templates