implemented RESIZE struct