handling ambiguity