just make calls to logging if DEBUG