Template now records properly