Added Cached inversion