eureka implementation for the quarry (mainly demo)