working on cache memory