intital parsing into 2d array