renamed msgvisit to msgvisitold