Add basic sanity check