test for new api function