7. added Logging capabilities