It's really not a very subtle error, however I think that you've both got coding target fixation and are missing the obvious.

Consider why you would be changing the lamp in the first place.