add a library