small speed increase without creating list