updated parser and io examples