add beging of slidning window