d class locomotives were initially assigned to hauling the adelaide express over the steep gradients between melbourne and ballarat, but were soon seen on mainline passenger services on a number of lines.