Use extend lib