now works without window list