passing in args to main function properly