slight template adjustment