Removed test function