to test functions