add library pamr