changes for chapter 4; need to finish setTimeDisplay(.)