final memcached based version