rearranged cursor to pop rather than copy