laying out the structure and behavior of the windows