added some randomization