use debug logging over println