added -m for repeated randomness