partially complete
par and pseq in the right spots
Fixed the memory leak