adding new function to test