added visitor testing

Remove debugging statements before pushing code