Moved random methods to RandomHelper