pig object