Added debugging log