smoothing out the library