added form validation and upped the version