Method of connecting parts