Rearranging the structure