Made .Template work