the working title for this story was "days of wrath". although "castrovalva" was the first story aired which featured peter davison as the fifth doctor, this story was the first in the season to be produced.