remove test function