template learned to take multiple states