More sanity checking