form now clears when submitted