correcting syntax error in visitor.rb line 12