add window sum example