converted the parsed string to a 2d array for easier referencing