back_to_main class edit