changed location of main