Used closure to close the numbers array