removed obtuse param by reference nature of get_slot_data and get_session_data