hopefully finally got template finding right