wrote the basic skeleton of the display