Parser finalization,
not tested yet