generalized sessPath variable to