restructuring layout