validations for fixed number, generating fn for new product