improved randomizing logic
Merge pull request #21 from jaimieli/comments

improved randomizing logic