add display to write to a log file