use xml for configration