basic sanity check