Prepare new data structure