recovered for last regrression in reprovision, removed dead code