got xml parser working