Modifying data structure