added notes on visitor method