turning into a library