add new parser function outputTRAINS