got everything working and added feature to choose word