removing test function