Trains following paths