added the function to create new article