updated parser sample