Revises function combine_with.