updated parser and POS methods