The locomotive could haul 30 tons of coal up a hill at 4 mph , and was the first successful flanged-wheel adhesion locomotive: its traction depended on contact between its flanged wheels and the rail.