use next() built-in function instead of method