Rename subfunction 6 to subfunction 5