added stream operations sample