moving on a string along positive x-direction