Passing variables to the function that draws the word.