! adding log messages for debugging