collapse .hasNext() and .next() into single .next() method