put an upper limit on the number of arguments to be printed