next library