changed visited to red