adding xml loader