reordered caching statements