Working exhaustive search