- more porting from alces_stack module