If A makes a promise to B, the fact that the consideration moves from B and X does not render such contract invalid.1 A sale of a partnership by B and X to A, is consideration for A's promise to pay to B such sums as B had advanced for such partnership;2 and B may maintain such action without joining X as plaintiff.3