final changes with library