text box cleaned up and back end handled