Generalizing the washer method