.cc patches for regression