add addarticle function