a machine with a red and black device