add visited