roughly translate tutorial-core-validators