parser almost done, must remove extra null statement