added -P, --parallel option