change in complementary function not good results
after merge
Change in check_complementary - gives bad results