buffering and warning