changes for creating window done