Add functions to verity table correctness