Corrected main