filter and append on streams