added date fix and beginning of cache.