Added new form

new functionality to xml class
new form