Private Code for exitvisit Client