some xml debug statements added