made a change to variable

theDirection = right;