better scanning of trains
525a - better beta of train manager