tried to add a test function, did not work