added xml parser