added recognition heuristic