Modified with Stream2 style.