adapt example