a machine does tick-tock