fixing build (Brent class is now a template class)