setting A and B the sameway, still only outputting first row