the british rail class 21, originally known as the north british type 2 diesel-electric, was a type of diesel locomotive built by the north british locomotive company in glasgow for british railways in 1958-1960.