added logging and fixes, and words file