Added getTrainList method