this is to test the function