adding memcache stuff