Implement pig actions