don't reset visited flag