Separated Functions. One train does not know about other trains