finish main sections