redesigned display code, step one