r7 to r18 lib