complementary functions