phase 1, Parser and Extractor