extend lib