ADding debug log