format main 3