add randomize flag
usages