add pp4e code and parallel prog