main function pass argument