making a library