fixed up the papi examples