Residual complete with bugs