building a library