pulling out validator code, version