more attributes in template class