worked on window managemnet