move main method