Result Table, new textboxes, datebox, submit button, and some refactoring