[dcs] Add stack, tests