added handling for memcache array