Good version of main