</s> ▁The ▁ 4 0 ▁class ▁were ▁a ▁class ▁of ▁dies el ▁locomot ives ▁built ▁by ▁Montreal ▁Lo comot ive ▁Works , ▁Canada ▁for ▁the ▁New ▁South ▁Wales ▁Government ▁Rail ways ▁in ▁ 1 9 5 1 / 5 2 . ▁ ▁History ▁The ▁ 4 0 ▁class ▁were ▁the ▁first ▁main line ▁dies el ▁electric ▁locomot ives ▁to ▁be ▁built ▁for ▁the ▁New ▁South ▁Wales ▁Government ▁Rail ways . ▁Bu ilt ▁by ▁the ▁Montreal ▁Lo comot ive ▁Works ▁in ▁ 1 9 5 1 / 5 2 , ▁they ▁were ▁based ▁on ▁the ▁AL CO ▁R SC - 3 ▁design . ▁ ▁There ▁were ▁subt le ▁devi ations ▁from ▁the ▁standard ▁R SC - 3 ▁built ▁by ▁the ▁American ▁Lo comot ive ▁Company . ▁These ▁included ▁cab ▁sides ▁that ▁ang led ▁in wards ▁from ▁just ▁below ▁the ▁cab ▁window - s ill ▁level ▁up wards ▁to ▁reduce ▁the ▁width ▁of ▁the ▁locomot ive ▁at ▁the ▁e aves ▁of ▁the ▁cab ▁roof , ▁and ▁pla cement ▁of ▁the ▁hand rails ▁on ▁the ▁car ▁body ▁rather ▁than ▁the ▁standard ▁walk way ▁arrangement . ▁ ▁They ▁were ▁originally ▁used ▁on ▁heavy ▁fre ight ▁services ▁from ▁Sydney ▁to ▁Broad me adow ▁and ▁later ▁on ▁North ▁Coast ▁services ▁to ▁Br is b ane ▁and ▁Main ▁South ▁line ▁services ▁to ▁Al bury . ▁All ▁were ▁delivered ▁in ▁grey ▁under co at ▁and ▁painted ▁in ▁verd ant ▁green ▁at ▁E ve le igh ▁Car riage ▁Work sh ops . ▁For ▁the ▁ 1 9 5 4 ▁Royal ▁Tour ▁of