First attempt at integrating if into visitors