Add visited places(refactor)