revising templates