successfully parse each line into arrays