added heuristic fn for tuples