Update # 1, fixed the get rejected visit function