 When articulated steam locomotives were first introduced, they were assigned a single class ("O").This proved inadequate almost immediately and a two letter code was used instead, based on treating the locomotive as if it were two engines coupled back-to-back.Within each letter class, a number was assigned for each successive design.