adjust the structure