Visitor in if command