more log entry code