How to get a validator function added to README.md