now clears input after submitting