add debug print statement