Added pig class