added sliding_window example