added looping samples