cleanup.
simplified randomize() method.  added some comments.