add debug lines