removed DOM and implemented XmlPullParser