added clearCache()