add pig formula for korrelate pig repo