add rapi library.