final version of main