Wonder if these could be extracted into a static method that takes the cache, index and column?