modify the structures