added Cache class