Added SG_ADD and Changed Inheritance