added POS-tagging and XML handler