tried converting xml parser to something less stupid, I don't know if java has this