updated word search function name