adding debugging log messages