Confirm getnext method

Signed-off-by: leo-ma <begeekmyfriend@gmail.com>