made the text generate dynamically from the Dict. class