routing work and session work