You might try changing the parameter you pass to nextInt to 100 and then +1. With a -1 I think the range would be -1 through 99. Still, I would think it would generate something besides 0?! Good Luck. Tami