add next_offset and has_next properties