attached is diagram describing the machines (in WORD format)