fully functional, but broken heuristic