Added sliding-buffer