modified to use ppa syntax