a sanity check