make submission, residual graph