add some randomize functions