moved memcache specific call to the library