add stream utils, summary and test