replace Session with Class Visit