refactor the expected list and add the submit button.