parser almost done.