Train knows when it is full