removed the rest of the xml writer and added a new form.