changed alert under function fight to match the change in the variables to an array. The alert pops up wiht proper text when refreshed on broswer