add structure to layout