a few logging files trying to fix logger issue
working version