Added some debug log messages