finished the black window generation