changed pig jobs to adapt to real case