updated parsing code

still returning an error