removed unused parts of large view