Two beams A and B