added xml use into ECM impl constructor