Extend lib