rename adapt to wrap