add new article scala function