Made range an integer