a machine with a sphere and a ball