removed unused parts of the "main" file