added type to article model