Now by using s() func, user can access sample buffer