ppalign added; many other changes.