quick template class - added