initial work on the cache-stuff