adding serializeJSON stuff
writing validation for maximum industries