implement re-arranging cues. closes #21