changing order of visit actions