wrote SAX parser. Rewrote excpetions