fix randomness to include 0