two caches and one relay