Basic random number draw implementation