pass in the maximum number of rounds via flags