implement sessionStats