split out display and write