made a working window