This part of code looks good to me. I like the idea that using the current phrase as the beginning element for the movement. And we don't need the global variable any more.