store into 2d int array