deleted test function