simplify implementation of streams