define struct Cache