getTrainTimer method added