main function argument setting