add logging capabilities