Step 2: Populating the window