chg: refactor parser's method parse
chg: refactor