error message added
added: add words, print words