add code to check if word prediction database is being found