temporarily disabled part of isValid until implementation is ready.