take repetition argument from command line