Addition of function to delete words.