Added some debug function