Added train departing functionality