Changed the range in randrange call