tidy fn with RecordWildCards