add location to QueryCalculator interface