changed randomPhrases location to a variable