removed need for manual papi def