EHN: integrate stack_list in io

the function name is changed to keep the stack option