added grid array to store nums