PAPI in frontend