test with other functions to do the same thing