Deleting ip_data func