almost working version cout_words