add visit array