add hedging statement to using session variable