started to add logging library