adding in xml config stuff