adding memcache clear function