added xml dispatcher