figuring out validator