gemify the library