Remove unused input arguments of main function