Variable number of windows