edited example code to reflect elimination of parallelism