updated parallel example