add logging debug