first draft of the template problem