Method to set the background resid