updated arg generator.