add another visited workaround