skeleton method for visitor exit