for local checks