Sometimes, people want to clean up polluted water, by removing spilled oil from its surface. Other times, they want to purify oil-based fuel, by removing water from it. An inexpensive new "smart" membrane created at Canada's University of British Columbia can switch between doing both.