pig logic 1.0