Retrofitting in a sustainable way