Checked value of travel method.

Checked value and created loop to do different actions per value.