net-sc: implementing stack chain