trying to debug state machine
getting closer

now it correctly makes the first two calls. Doesn’t quite print  yet.