Library construction