added basic functionality for new ambiguity checking method