Adding more logging output