parsing almost done