A Borel subset of the unit square whose vertical and horizontal sections are two-point sets admits a natural group action. We exploit this to discuss some questions about Borel subsets of the unit square on which every function is a sum of functions of the coordinates. Connection with probability measures with prescribed marginals and some function algebra questions is discussed.