renamend newCache method to openCache