got template field working