Added some logging messages