Added code to display the stuff in the windows