change basic sliding_window to kodo_sliding_window and formating code