a diagram of a machine