Made modifications to increase numbers generated