Updated call to prepare_words to invoke the correct scope fixing the undefined method error