Pig class added