convert to use through stream