finalized parsing