adding xml parsing