Did all steam locomotoves operate in that manner, or just some of them?