as far as i can tell , some of the machines take in dirty water from the rest of the compound , a few of them purify it , others test it , and the last set pumps clean water back out to the compound .