Add windows select loop