Change sliding window API