Adding the code for display of words