implemented memcached partially