why not simply `while (cursor.moveToNext())`?