Adding main structure