added new template class