sanity helper