updated: fixed bugs for more than four trains