adding a constructor to article class