add words dynamically working