adds to show session function