made it can save result paralelly