to show how Java stream works