add pre-check per issue #6