completed the form and removed old input