Added parallel reduce, moved sections around