test for the new function