zero-based window numbers