add stack machine from dpc14