added papi start code