make a more generic function to handle also article, notes