trying to parallelize with streams