edited main_window once again