Thus having settled their accounts, they shook hands and swore to be good friends for the rest of their lives. Then Geppetto took the fine piece of wood, thanked Mastro Antonio, and limped away toward home..