better code organization; starting in on iteration with visitors