template initialized