working out results cache