My little code snippet to do some randomizations!