implemented form reset