Updated for two sessions.