Adapt example3