WIP - it compiles and operates fine. log does not save.