add inline functions to library