correctly reading, writing, and displaying data