xml now working