different approach to template issue