draft of validator extension and slight modification to the gl sharing extension example code