Added checking for missing words