added class to parse xml