trying to maximize cache hits