some changes in visit