implement in the template class the method fetch