add queue-machine.scm