Added randomInRange