added support for memcached