the train would be a mixed one , with one or , at the most , two passenger carriages at the front and a row of goods wagons behind , bringing materials and equipment for the dam , supplies for the workmen who remained , and a few animals from the nearest market .