Add randomize(), reduce redundancies in code.