library_fit