checking for current_word before calling function on it