checking to improve stream