Working number in bounds function