First working implementation that starts by identifying candidate results