rough outline for display.py