adding log entries here and there