added getSessionsAndCalc