seperate xml from GUI