streamlining the template