complate A and B