added block get for trains
Merge origin/master