stack_machine work