Final Cache Code