retrofitted code