simplified wrapper for memcache