window ending