added more log messages.