Adjusted cursor loop