reaching building the 2-D array