changing the structure of the layouts