main structure for first main view