papi library almost finished