Residual main repository