removed getArticlePages function