parser almost ready