Added documentation for sanity check