These three lines could use scratch variables.