document sanity check