Added debugging log messages