use withWindowSet instead of gets windowset