added total_words and publish