Salvaging old code