refactoring LruCache