added $b->visited