streams implementation example added