iterate with int for command line arguments