a machine with two pots