make template class