The function of a connecting rod is