Added some temporary debug code