next() now actually moves the internal pointer and resource pointer up, instead of just the internal pointer.