trying to fix pig