added randomize Fixes #2
fixes merge problems