final adaptations for dualitysaving