completed caching of inverses