templating our the library