a machine with a cup