add debug log lines