Added train depart function