Added some more logging output