added memcache stuff