worked on scenario where word not in word dictionary