adding the logger...
still working on logging...