turn into a library