added inputs and required_features validations