finishing with library