Fixed issue where random number generator was being recreated on every method call, causing calls to have duplicate values.