scrap code