1) creating textbox from xml

2) cleanup