began implementing XML parser